import request from '@/utils/request'

// 查询班级学生变更记录列表
export function listClassStuHis(query) {
  return request({
    url: '/edu/classStuHis/list',
    method: 'get',
    params: query
  })
}

// 查询班级学生变更记录详细
export function getClassStuHis(historyId) {
  return request({
    url: '/edu/classStuHis/' + historyId,
    method: 'get'
  })
}

// 新增班级学生变更记录
export function addClassStuHis(data) {
  return request({
    url: '/edu/classStuHis',
    method: 'post',
    data: data
  })
}

// 修改班级学生变更记录
export function updateClassStuHis(data) {
  return request({
    url: '/edu/classStuHis',
    method: 'put',
    data: data
  })
}

// 删除班级学生变更记录
export function delClassStuHis(historyId) {
  return request({
    url: '/edu/classStuHis/' + historyId,
    method: 'delete'
  })
}

// 导出班级学生变更记录
export function exportClassStuHis(query) {
  return request({
    url: '/edu/classStuHis/export',
    method: 'get',
    params: query
  })
}